package model;  
  
/**
*
* @author Juliane
*/
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConFactory {

    public static Connection getConnection() {
        try {
            return DriverManager.getConnection("jdbc:mysql://localhost/pjava", "usuario", "usuario");
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }
    }
}
